package com.example.ch8;

public class Dog {
	private String name;
	private Toy[] toys;
	
	public Dog() {

	}

	public Dog(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String toString() {
		return name;
	}

	public Toy[] getToys() {
		return toys;
	}

	public void setToys(Toy[] toys) {
		this.toys = toys;
	}

}
